/**
 * 
 */
package com.example;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 创建最基本的Spring Boot启动主类<br>
 * 增加@EnableDiscoveryClient注解，用来发现config-server服务，利用其来加载应用配置
 */
@EnableDiscoveryClient
@SpringBootApplication
public class ConfigClientApplication {
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		new SpringApplicationBuilder(ConfigClientApplication.class).web(true)
				.run(args);
	}
}
